package com.atguigu.jxc.service;

import com.atguigu.jxc.domain.ServiceVO;
import com.atguigu.jxc.entity.Supplier;

import java.util.List;
import java.util.Map;

public interface SupplierService {

    //分页查询
    Map<String, Object> list(Integer page, Integer rows, String supplierName);

    //保存更新
    ServiceVO saveOrUpdate(Supplier supplier, String supplierId);

    //批量删除
    void delete(int id);

    //供应商名称模糊查询
    List<Supplier> getComboboxList(String q);
}
